package com.xhs.dto.request;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

/**
 * @desc:
 * @projectName: java-tools-parent
 * @author: xhs
 * @date: 2023-8-27 027 16:49
 * @version: JDK 1.8
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class UserRequest extends SignRequest {

    /**
     * 用户名
     */
    @NotEmpty(message = "用户名不能为空")
    private String name;
}
